/*
 * @Author: zsc
 * @Date: 2022-06-26 15:22:36
 * @LastEditors: zsc
 * @LastEditTime: 2022-06-29 23:23:18
 * @Description:预警个人侧
 */

import baseClass from '@/list/baseClass'
import _ from 'lodash'
export default class WarningPresonClass extends baseClass {
  constructor(prop) {
    super(prop)
    console.log('prop', prop)
    this.index = _.get(prop, 'id', '')
  }
  list() {
    return [

      {
        name: '姓名',
        key: 'user_info.real_name',
        fixed: '',
        edit: false,
        show: true,
        value: 100
      },
      {
        name: '身份证',
        key: 'user_info.id_card',
        fixed: '',
        edit: false,
        show: true,
        value: 200
      },
      {
        name: '访问楼宇',
        key: 'building_info.name',
        fixed: '',
        edit: false,
        show: true,
        value: 100
      },
      {
        name: '进入时间',
        key: 'created_time',
        fixed: '',
        edit: false,
        show: true
      },
      {
        name: '操作',
        key: 'action',
        fixed: 'right',
        edit: false,
        show: true,
        value: 450
      }
    ]
  }
}

